Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRGetViewRate

You can use the QTVRGetViewRate function to get the current view rate of an object node.

float QTVRGetViewRate (QTVRInstance qtvr);
qtvr
An instance of a QuickTime VR movie.
function result
A floating-point value that represents the current view rate of the specified movie.

DESCRIPTION

The QTVRGetViewRate function returns, as its function result, the current view rate of the object node specified by the qtvr parameter. A view rate is a floating-point value in the range from -100.0 to +100.0. An object node's default view rate is stored in the movie file.

SPECIAL CONSIDERATIONS

QTVRGetViewRate is valid only for object nodes.

SEE ALSO

Use QTVRSetViewRate (next) to set the view rate of an object node.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |